package cn.example.zjgsu.service;

import cn.example.zjgsu.exception.MyException;
import cn.example.zjgsu.pojo.result.ResultMFR;

import java.util.List;

/**
 * @author: miaopeihan
 * @date: 2020-03-18  19:02
 */
public interface DiscoverPageServer {
    /*List<ResultMainFoodRecord> getPopularFoodRecord();

    List<ResultMainFoodRecord> getFocusFoodRecord(String account);*/

    List<ResultMFR> getFocusFoodRecord(String account) throws MyException;
    List<ResultMFR> getPopularFoodRecord();
    void  addViews(int foodRecordId);
}
